package cn.scw.project.system.domain;

import cn.scw.framework.aspectj.lang.annotation.Excel;
import cn.scw.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
/**
 * 用户提现记录对象 sys_user_extract
 *
 * @author api
 * @date 2020-05-20
 */
public class SysUserExtract extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 用户id */
    @Excel(name = "用户id")
    private Long userId;

    /** 提现金额 */
    @Excel(name = "提现金额")
    private Long money;

    /** 收款二维码 */
    @Excel(name = "收款二维码")
    private String qrCode;

    /** 处理状态（待处理，提现成功，提现失败） */
    @Excel(name = "处理状态", readConverterExp = "待=处理，提现成功，提现失败")
    private String status;

    /** 备注 */
    @Excel(name = "备注")
    private String note;

    /** 处理时间 */
    @Excel(name = "处理时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date disposeDate;

    /** 提现时间 */
    @Excel(name = "提现时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date createDate=new Date();

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setMoney(Long money)
    {
        this.money = money;
    }

    public Long getMoney()
    {
        return money;
    }
    public void setQrCode(String qrCode)
    {
        this.qrCode = qrCode;
    }

    public String getQrCode()
    {
        return qrCode;
    }
    public void setStatus(String status)
    {
        this.status = status;
    }

    public String getStatus()
    {
        return status;
    }
    public void setNote(String note)
    {
        this.note = note;
    }

    public String getNote()
    {
        return note;
    }
    public void setDisposeDate(Date disposeDate)
    {
        this.disposeDate = disposeDate;
    }

    public Date getDisposeDate()
    {
        return disposeDate;
    }
    public void setCreateDate(Date createDate)
    {
        this.createDate = createDate;
    }

    public Date getCreateDate()
    {
        return createDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("userId", getUserId())
            .append("money", getMoney())
            .append("qrCode", getQrCode())
            .append("status", getStatus())
            .append("note", getNote())
            .append("disposeDate", getDisposeDate())
            .append("createDate", getCreateDate())
            .toString();
    }
}
